﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Company.aspx.cs" Inherits="PlugNT.Cms.Web.Company" %>

<%@ Register Src="Control/Foot.ascx" TagName="Foot" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_head2.htm")%>
    <link href="/Css/home.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/show.js"></script>
    <link href="Css/SupplyStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_toper.htm")%>

    <div id="container2">
        <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_top.htm")%>
        <!-----------search--------------->
        <div class="clear">
        </div>
        <div class="Crumbs">
            <ul>
                <li class="col4">企业黄页 </li>
                <li class="result">
                    <h1></h1>
                </li>
            </ul>
            <div class="clear">
            </div>
        </div>
        <!-------------引导---------------->
        <div class="detail_list">
            <div class="content7">
                <div class="clear">
                </div>
                <%if (this.UserList.Count > 0)
                  {
                      foreach (FJASPX.Domain.User model in this.UserList)
                      {%>
                <div class="list_box">
                    <a href="/home<%=model.Id%>.aspx" title="<%=model.CompanyName%>" class="img" target="_blank">
                        <img src="CreateMiniImage.ashx?path=<%=model.Logo%>&h=200&w=200&t=cut" alt="<%=model.CompanyName%>" style="margin-left: 0px;" width="100px" height="100px" /></a>
                    <div class="details">
                        <div class="details_content">
                            <div class="h3">
                                <a target="_blank" href="/home<%=model.Id%>.aspx">
                                    <%=this.ReplaceTitle(model.CompanyName)%></a>
                            </div>
                            <p>
                                <%=(string.IsNullOrEmpty(model.CompanyInfo) ? "" :FJASPX.Framwork.Helper.StringHelper.CutString(FJASPX.Framwork.Helper.StringHelper.ClearHtml(model.CompanyInfo), 200))%>
                            </p>
                        </div>

                    </div>
                    <div class="price">
                        <p>
                            <span class="m">联系电话：<%=model.Mobile%></span>
                        </p>
                    </div>
                    <div class="contact">
                        <a href="/home<%=model.Id%>.aspx" class="message">和我联系</a>
                        <a href="http://wpa.qq.com/msgrd?V=1&Uin=<%=model.QQ%>&Site=艺博城&Menu=yes" target="_blank">
                            <img src="/images/counseling_style_52.png" alt="点击这里给我发送消息" border="0"/></a>
                    </div>
                </div>
                <%} %>
                <%} %>
                <!--------------热门------------------------->
                <div class="clear">
                </div>
                <div class="pager">
                    <% int page = 1;
                       if (Request.QueryString["page"] != null)
                       {
                           page = Convert.ToInt32(Request.QueryString["page"]);
                       }%>
                    <%  
                        Response.Write(PlugNT.Cms.Page.DataHelper.GetPagination((int)this.TotalCount, PageSize, page, "Company.aspx", "page",
                    "", false, false));%>
                </div>
            </div>
            <div id="sidebar">
                <div class="column">
                    <a href="#">
                        <img src="/images/ad.jpg" /></a>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div id="hot">
            <div class="hot_search-img">
                <div class="hot_header col4">
                    <a href="" class=" fr mr" style="PADDING-TOP: 6px; FONT-SIZE: 12px;">更多&gt;&gt;</a>
                    <h3 class="fl">热门推荐</h3>
                </div>
                <ul class="hot_content">
                    <%if (this.ProductList.Count > 0)
                      {
                          foreach (FJASPX.Domain.Product model in this.ProductList)
                          {%>
                    <li>
                        <div class="hot_pic">
                            <a href="/Home/Show.aspx?User=<%=model.UserId%>&Id=<%=model.Id%>">
                                <img src="<%=model.Images%>" alt="<%=model.Name%>" width="100px" height="100px" /></a>
                        </div>
                        <h3>
                            <a href="/Home/Show.aspx?User=<%=model.UserId%>&Id=<%=model.Id%>"><%=model.Name%></a></h3>

                        <%if (string.IsNullOrEmpty(model.Price))
                          {%>
                        <p>
                            <span>未公开</span>
                        </p>
                        <%}
                          else
                          {%>
                        <p>
                            <span><b>￥</b><%=model.Price%></span>
                        </p>
                        <%}%>
                    </li>
                    <%} %>
                    <%}
                      else
                      { %>
                    暂无推荐数据
                    <% }%>
                </ul>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>

    <div class="clear">
    </div>
    <div class="out-footer">
        <div class="footer">
            <uc1:Foot ID="Foot1" runat="server" />
        </div>
    </div>

</body>
</html>
